package com.wzapp.sitposture.eshop.repository;

import com.wzapp.sitposture.eshop.entity.OrderStatus;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource(path = "orderStatus",exported = false)
public interface OrderStatusRepository extends JpaRepository<OrderStatus, String> {

    OrderStatus findByCurrentStatusAndOperation(Integer currentStatus, String operation);
}
